Vcenter Guest CustomizationSpec
The Vcenter Guest CustomizationSpec schema contains information required to customize a virtual machine when deploying it or migrating it to a new host.
This schema was added in vSphere API 7.0.0.0.
{
"configuration_spec": {
"windows_config": {
"reboot": "string",
"sysprep": {
"gui_run_once_commands": [
"string"
],
"user_data": {
"computer_name": {
"type": "string",
"fixed_name": "string",
"prefix": "string"
},
"full_name": "string",
"organization": "string",
"product_key": "string"
},
"domain": {
"type": "string",
"workgroup": "string",
"domain": "string",
"domain_username": "string",
"domain_password": "string",
"domain_ou": "string"
},
"gui_unattended": {
"auto_logon": false,
"auto_logon_count": 0,
"password": "string",
"time_zone": 0
}
},
"sysprep_xml": "string"
},
"linux_config": {
"hostname": {
"type": "string",
"fixed_name": "string",
"prefix": "string"
},
"domain": "string",
"time_zone": "string",
"script_text": "string",
"compatible_customization_method": "string"
},
"cloud_config": {
"type": "string",
"cloudinit": {
"metadata": "string",
"userdata": "string"
}
}
},
"global_dns_settings": {
"dns_suffix_list": [
"string"
],
"dns_servers": [
"string"
]
},
"interfaces": [
{
"mac_address": "string",
"adapter": {
"ipv4": {
"type": "string",
"ip_address": "string",
"prefix": 0,
"gateways": [
"string"
]
},
"ipv6": {
"type": "string",
"ipv6": [
{
"ip_address": "string",
"prefix": 0
}
],
"gateways": [
"string"
]
},
"windows": {
"dns_servers": [
"string"
],
"dns_domain": "string",
"wins_servers": [
"string"
],
"net_bios_mode": "string"
}
}
}
]
}
Settings to be applied to the guest during the customization.
This property was added in vSphere API 7.0.0.0.
Global DNS settings constitute the DNS settings that are not specific to a particular virtual network adapter.
This property was added in vSphere API 7.0.0.0.
IP settings that are specific to a particular virtual network adapter. The Vcenter Guest AdapterMapping schema maps a network adapter's MAC address to its Vcenter Guest IPSettings. May be empty if there are no network adapters, else should match number of network adapters configured for the VM.
This property was added in vSphere API 7.0.0.0.